//引入mockjs模块
import Mock from 'mockjs'
//把JOSN数据格式引入进来
//webpack默认对外暴露的：图片、JsoN数据格式
import banners from './banners.json'
import floors from './floors.json'
import search from './search.json'

//mock数据 :第一个参数请求地址 第二个参数：请求数据
Mock.mock("/mock/banners",{code:200,data:banners})
Mock.mock("/mock/floors",{code:200,data:floors})
Mock.mock("/mock/search",{code:200,data:search})
